package com.ykdl.member.kid.beans;

import java.io.Serializable;

import android.R.string;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class Hot_TopicsBean implements Serializable, IJsonParser{

	/**
	 * {
            "views_count": 46,
            "topic_title": "拉拉啦",
            "actor": {
                "avatar_url": "http://imgs.ykdllmyr.com/groups/2014/10/10/UXXxSBAB2DFdViLHL57JmM.png",
                "display_name": "阿拉彬",
                "actor_id": 195
            },
            "topic_id": 150,
            "replies_count": 4,
            "group_id": 1
        }
	 */
	private static final long serialVersionUID = 5793005569270196749L;
	private String views_count;
	private String topic_title;
	private NewActorBean actor ;
	private String topic_id;
	private String replies_count;
	private String group_id;
	public String getViews_count() {
		return views_count;
	}
	public String getTopic_title() {
		return topic_title;
	}
	public NewActorBean getActor() {
		return actor;
	}
	public String getTopic_id() {
		return topic_id;
	}
	public String getReplies_count() {
		return replies_count;
	}
	public String getGroup_id() {
		return group_id;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, Hot_TopicsBean.class);
		}
		return null;
	}

}
